<?php
namespace app\model;
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
use core\lib\model;
/**
 * Description of userModel
 *
 * @author gangguo
 */
class userModel extends model{
    //put your code here
    
    protected $table = 'user';
    
    public function __construct() {
        parent::__construct();
    }
    
    public function getOne(){
        
    }
    
    public function getList($where,$columns){
        return $this->select($this->table, $columns, $where);
    }
    
    public function delOne(){
        
    }
    
    public function add($datas){
        return $this->insert($this->table, $datas);
    }
}
